package com.deco.logic.product;

import com.deco.dao.delegate.product.IPqmsHistoryDao;
import com.deco.dao.domain.table.PqmsHistory;
import com.deco.domain.vo.product.PqmsHistoryVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class PqmsHistoryLogic {

    @Autowired
    private IPqmsHistoryDao dao;

    public PqmsHistoryVo add(PqmsHistoryVo historyVo){
        return dao.add(historyVo);
    }

    public Integer getCount(PqmsHistoryVo historyVo){
        return dao.count(historyVo);
    }

}
